package com.xc.ezplan.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xc.ezplan.admin.entity.AdminRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.ezplan.admin.vo.AdminRoleVo;
import com.xc.ezplan.core.base.SearchCondition;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Set;

/**
 * @author lixingchen
 * @date 2022/11/19
 * @description 角色管理接口
 */
public interface AdminRoleService extends IService<AdminRole> {
	void createRole(AdminRoleVo adminRoleVo);

	void deleteRole(List<Long> ids);

	void updateRole(AdminRoleVo adminRoleVo);

	Object findRoleById(Long roleId);

	Object pageQueryRole(SearchCondition SearchCondition, Page<AdminRole> page);

	Object queryAllRole();

	Object getRoleLevel();

	void updateRoleMenu(AdminRoleVo adminRoleVo);

	void exportRole(List<AdminRoleVo> adminRoleVos, HttpServletResponse response) throws IOException;
}
